package com.tanhua.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * 试题中的选项
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document("soul_question_option")
public class SoulQuestionOption implements Serializable {

    /*主键id，选项编号*/
    private ObjectId id;
    /*选项*/
    private String option;
    /*选项属于哪个问题*/
    private ObjectId questionId;
    /*选项得分*/
    private Integer score;
}
